package com.bootdo.appsystem.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.appsystem.dao.UserdegreeDao;
import com.bootdo.appsystem.domain.UserdegreeDO;
import com.bootdo.appsystem.service.UserdegreeService;



@Service
public class UserdegreeServiceImpl implements UserdegreeService {
	@Autowired
	private UserdegreeDao userdegreeDao;
	
	@Override
	public UserdegreeDO get(Integer degreeid){
		return userdegreeDao.get(degreeid);
	}
	
	@Override
	public List<UserdegreeDO> list(Map<String, Object> map){
		return userdegreeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return userdegreeDao.count(map);
	}
	
	@Override
	public int save(UserdegreeDO userdegree){
		return userdegreeDao.save(userdegree);
	}
	
	@Override
	public int update(UserdegreeDO userdegree){
		return userdegreeDao.update(userdegree);
	}
	
	@Override
	public int remove(Integer degreeid){
		return userdegreeDao.remove(degreeid);
	}
	
	@Override
	public int batchRemove(Integer[] degreeids){
		return userdegreeDao.batchRemove(degreeids);
	}
	
}
